#ifndef BEACONMANAGER_H
#define BEACONMANAGER_H

#include <vector>
#include <cstdint>
#include <chrono>
#include <random>
using namespace std;

struct Beacon {
    vector<uint8_t> value;
    uint64_t timestamp;
};

class BeaconManager {
public:
    Beacon generateBeacon(size_t len = 32) {
        Beacon b;
        b.timestamp = static_cast<uint64_t>(
            chrono::system_clock::now().time_since_epoch() /
            chrono::milliseconds(1)
        );
        b.value.resize(len, 0);
        return b;
    }
    bool verifyBeacon(const Beacon& b) { return true; }
};

#endif // BEACONMANAGER_H
